package com.fuzzknuckle.multimixconfig;

public class MultiMixConfig {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
	
		MultiConfig hexa = new MultiConfig();
		hexa.addArm(new MultiArm(0, 0, 60, 400));
		hexa.addArm(new MultiArm(0, 0, 90, 400));
		hexa.addArm(new MultiArm(0, 0, 155, 400));
		hexa.addArm(new MultiArm(0, 0, -60, 400));
		hexa.addArm(new MultiArm(0, 0, -90, 400));
		hexa.addArm(new MultiArm(0, 0, -155, 400));

		for (int i = 0; i < hexa.getNumberOfArms(); i++) {
			System.out.println(hexa.getCMix(i));
		}
		
		System.out.println();
		
		MultiConfig quad = new MultiConfig();
		quad.addArm(new MultiArm(0, 0, 45, 400));
		quad.addArm(new MultiArm(0, 0, 135, 400));
		quad.addArm(new MultiArm(0, 0, -135, 400));
		quad.addArm(new MultiArm(0, 0, -45, 400));
		
		System.out.println(quad);
		for (int i = 0; i < quad.getNumberOfArms(); i++) {
			System.out.println(quad.getCMix(i));
		}
	}

}
